package com.region.integral.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesLogerUtil {
	private static Properties properties = null;
	static {
		properties = new Properties();
	}
	public static void load(InputStream is) {
		try {
			properties.load(is);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	public static String getRuleIntegral(String key){
		return properties.getProperty(key);
	}
}
